import { createApp } from "vue"
import "./style.css"
import App from "./App.vue"
// 导入路由
import router from "./router"
import { createPinia } from "pinia"
import ElementUi from "element-plus"
import "element-plus/dist/index.css"
import * as echarts from "echarts"
import "echarts-gl" // 3d图表库
import DataVVue3 from "@kjgl77/datav-vue3"
import "@/assets/DINfont.css"
const MainApp = createApp(App)
MainApp.config.globalProperties.$echarts = echarts

// 创建 pinia 对象
const pinia = createPinia()

MainApp.use(pinia).use(router).use(DataVVue3).use(ElementUi).mount("#app")
